package org.abio.XasML.core
{
	import flash.display.Sprite;

	public class Context extends Sprite
	{
		private var xml:XML=null;
		private var Content:LazyObject=null;
		
		public function Context(xml:XML=null)
		{
			this.xml=xml;
			
			this.Content=new LazyObject(this, xml.children()[0]);
			trace(this.Content.revalidate());
		}
		
		public function Namespace(prefix:String):String{
			return this.xml.namespace(prefix);
		}
	}
}
